Service-Specific Registry Entries

The following parameters are stored in the registry by service, for service-specific behavior, but have the same name for each service.

Registry path:

HKEY_LOCAL_MACHINE\SYSTEM
\CurrentControlSet
 \Services
  \ServiceName
   \Parameters

where ServiceName is

MSFTPSVC (FTP Service)
W3SVC (WWW Service)

AllowGuestAccess
REG_DWORD
Range: 1, 0
Default: 1 (enabled)
This parameter specifies whether Guest logons are allowed for Internet services. When a new user logs on, the server checks to see if the user is logged on as a Windows Guest user. For a Guest connection, based on the value of this parameter, the Internet service either rejects or accepts the new connection. Allowing Guest access has been known to cause problems in a poorly managed site. Under the default installation of Windows systems, the Guest account is granted permissions for all types of access on the system. Because this default could easily compromise security, you should turn this switch off by changing the value to 0.

 

EnableSvcLoc
REG_DWORD
Range: 1, 0
Default: 1 (enabled)
IIS services register themselves with a service locator so that the service can be discovered by the IIS snap-in. This parameter controls such registration. If set to 0, the service will not register the service. If set to 1, it registers the service for service location.

 

The following registry key, LanguageEngines, is not installed by default. You must create this key in the following location in order to use it.

HKEY_LOCAL_MACHINE\SYSTEM
 \CurrentControlSet
  \Services
   \W3SVC
    \ASP
     \LanguageEngines
      \LanguageName

Value: Write REG_SZ: Response.WriteEquiv |
Value: WriteBlock REG_SZ: Response.WriteBlockEquiv |

LanguageEngines
REG_STRING
Range:String
Default: Not applicable
This parameter specifies a scripting language that does not support the Object.Method syntax as the Active Server Pages primary scripting language (the language used within the ASP script delimiters <% ... %>). LanguageName is the name of the chosen language, Response.WriteEquiv is the language’s equivalent of Response.Write, and Response.WriteBlockEquiv is the language’s equivalent of Response.WriteBlock. The pipe symbol (|) is an insertion used by ASP to send expressions and HTML blocks that are normally processed with Response.Write and Response.WriteBlock methods. This can be done automatically when installing additional scripting languages. If your scripting language is sensitive to white space or newline characters, you may not be able to use it as the primary scripting language even when this registry value is set. As an alternative, you can manually write HTML blocks to the browser or write that language’s functions within tagged script blocks (<SCRIPT> ... </SCRIPT> ) and call them from any other language.

© 1997-1999 Microsoft Corporation. All rights reserved.